WKO\Controllers\Gateways\Gateway B

Total Complexity 97
Dependencies 11
Dependents 1
Total lines 915
Lines of code 572
Logical lines of code 256
Comment lines 173
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
get_address()
A
45 12 41
process_payment()
A
44 7 47
get_person()
S
44 6 45
get_order_status()
S
53 7 27
get_order_items()
S
46 5 36
capture_order()
S
49 5 33
gateway_discount()
S
54 5 20
process_refund()
S
44 2 50
get_phones()
S
53 3 25
build_request_body()
S
53 3 23
get_transaction_data()
S
48 2 35
handle_failed_status()
S
59 3 15
validate_address_fields()
S
62 4 10
get_discounts()
S
61 3 12
finishSuccessOrder()
S
56 2 19
get_payer_data()
S
56 2 17
get_customer_ip()
S
67 3 9
get_post_vars()
S
69 3 6
get_server_vars()
S
69 3 6
get_shipping_phone()
S
60 2 14
get_customer()
S
57 1 17
get_buyer_data()
S
58 1 16
save_post_meta()
S
70 2 6
order_failed()
S
65 1 11
get_payment_method()
S
100 1 0
get_custom_gateway_fields()
S
100 1 0
show_thankyou_page()
S
100 1 0
__construct()
S
75 1 4
abort_payment_process()
S
79 1 3
get_webhook_url()
S
70 1 6
number_format()
S
78 1 3
get_store_data()
S
67 1 8
get_shipping_data()
S
66 1 8
get_metas()
S
100 1 0